# 异常捕获初试

try:
    # print(f"我叫{name}") # 该异常会触发NameError异常
    print(1 // 10)
except (NameError,ZeroDivisionError) as e :
    print("除数不能为0;",e)
else:
    print("没有异常")
finally:
    print("不管有没有异常都会执行")
